package com.hanxu.mallproduct.feign;

import com.hanxu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("mall-ware")
@Service
public interface WareFeignService {
    @PostMapping("/mallware/waresku/hasStock")
    public R getSkusHasStock(@RequestBody List<Long> skuIds);
}
